package com.lin.cloud;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;

/**
 * @author LSH9938
 */
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients
@EnableHystrix
@Slf4j
public class CloudEurekaConsumerApplication {

    public static void main(String[] args) {
        SpringApplication.run(CloudEurekaConsumerApplication.class, args);
        log.info("----consumer启动成功----");
    }
}
